package Demo1;

public class Derived extends Base{
    int a; //与父类中成员a同名, 且类型相同
    char c; //与父类中成员b同名, 且类型不同
    public void method(){
        a=100;
        b=101;
        c=102;
    }
}
